import request from '@/request'


/**
 * 用户组授权
 * @param {*} authParams 
 * @returns 
 */
export function authUserGroup(authParams) {
  return request({
    url: `/sso/auth`,
    method: 'post',
    data: {
      "group": 9,
      "auth": ["sso.user.base.*", "sso.group.admin."],
      "option": true
    }

  })
}

/**
 * 获取接口权限
 * @param 
 * @returns 
 */
export function getApiAuth() {
  return request({
    url: `/sso/auth/uri`,
    method: 'get'
  })
}